<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>礼物愿望清单 - 社交心愿平台</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/css/bootstrap/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 页面头部 */
        .page-header {
            padding: 2rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid #e1e5eb;
        }
        
        .page-title {
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            position: relative;
            display: inline-block;
        }
        
        .page-title:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: #3498db;
        }
        
        .page-subtitle {
            color: #7f8c8d;
            font-size: 1.1rem;
            max-width: 800px;
        }
        
        /* 筛选工具栏 */
        .filter-toolbar {
            background-color: white;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .sort-options {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .sort-label {
            color: #7f8c8d;
            font-weight: 500;
        }
        
        .sort-select {
            padding: 0.4rem 1rem;
            border-radius: 20px;
            border: 1px solid #ddd;
            background-color: white;
            font-size: 0.9rem;
        }
        
        /* 分类标签 */
        .category-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1.5rem 0 2rem;
        }
        
        .category-tab {
            padding: 0.5rem 1.25rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.2s;
            background-color: white;
            border: 1px solid #dee2e6;
            color: #495057;
        }
        
        .category-tab.active {
            background-color: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        .category-tab:hover:not(.active) {
            background-color: #f1f3f5;
        }
        
        /* 愿望列表容器 */
        .wish-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        
        /* 愿望卡片基础样式 */
        .wish-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.07);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .wish-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        /* 特殊卡片样式 */
        .featured-wish {
            grid-column: span 2;
            flex-direction: row;
        }
        
        .wide-wish {
            grid-column: span 2;
        }
        
        /* 媒体容器 - 支持有图和无图 */
        .wish-media {
            position: relative;
            width: 100%;
            flex-shrink: 0;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        /* 不同比例的媒体容器 */
        .media-standard {
            height: 200px;
        }
        
        .media-wide {
            height: 250px;
        }
        
        .media-featured {
            width: 50%;
            height: auto;
            min-height: 280px;
        }
        
        /* 无图片状态 */
        .no-media {
            color: #95a5a6;
            text-align: center;
            padding: 2rem 1rem;
            width: 100%;
        }
        
        .no-media i {
            font-size: 3rem;
            margin-bottom: 0.75rem;
            opacity: 0.7;
            color: #3498db;
        }
        
        /* 有图片的网格布局 */
        .media-grid {
            display: grid;
            width: 100%;
            height: 100%;
            gap: 3px;
        }
        
        .one-photo {
            grid-template-columns: 1fr;
        }
        
        .two-photos {
            grid-template-columns: 1fr 1fr;
        }
        
        .three-photos {
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .three-photos img:first-child {
            grid-column: 1;
            grid-row: 1 / 3;
        }
        
        .four-photos {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .wish-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .wish-card:hover .wish-media img {
            transform: scale(1.05);
        }
        
        /* 图片数量指示 */
        .image-count {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0,0,0,0.6);
            color: white;
            border-radius: 12px;
            padding: 2px 8px;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* 价格标签 */
        .price-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #e74c3c;
            color: white;
            border-radius: 4px;
            padding: 3px 8px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        /* 愿望信息 */
        .wish-info {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .featured-wish .wish-info {
            width: 50%;
        }
        
        /* 愿望类型标签 */
        .wish-category {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 0.75rem;
        }
        
        .category-electronics {
            background-color: #e3f2fd;
            color: #1976d2;
        }
        
        .category-fashion {
            background-color: #fce4ec;
            color: #c2185b;
        }
        
        .category-home {
            background-color: #e8f5e9;
            color: #388e3c;
        }
        
        .category-beauty {
            background-color: #fff3e0;
            color: #f57c00;
        }
        
        .category-sports {
            background-color: #e0f7fa;
            color: #00897b;
        }
        
        .category-other {
            background-color: #f5f5f5;
            color: #616161;
        }
        
        /* 标题和描述 */
        .wish-title {
            font-weight: 600;
            font-size: 1.15rem;
            color: #2c3e50;
            margin-bottom: 0.75rem;
            transition: color 0.3s;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .featured-wish .wish-title {
            font-size: 1.4rem;
            -webkit-line-clamp: 3;
        }
        
        .wish-card:hover .wish-title {
            color: #3498db;
        }
        
        .wish-description {
            color: #7f8c8d;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.6;
        }
        
        .featured-wish .wish-description {
            font-size: 0.95rem;
            -webkit-line-clamp: 4;
        }
        
        /* 作者信息 */
        .author-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .author-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #f1f1f1;
        }
        
        .author-details {
            flex: 1;
        }
        
        .author-name {
            font-weight: 500;
            color: #2c3e50;
            margin-bottom: 0;
            font-size: 0.9rem;
        }
        
        .post-date {
            font-size: 0.8rem;
            color: #b0b8c1;
        }
        
        /* 统计和操作按钮 */
        .wish-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #7f8c8d;
        }
        
        .action-stats {
            display: flex;
            gap: 1rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            transition: color 0.2s;
        }
        
        .stat-item:hover {
            color: #3498db;
        }
        
        .wish-interactions {
            display: flex;
            gap: 0.75rem;
        }
        
        .interaction-btn {
            background: none;
            border: none;
            color: #7f8c8d;
            cursor: pointer;
            transition: all 0.2s;
            padding: 0.25rem;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .interaction-btn:hover {
            color: #3498db;
            background-color: #ebf5fb;
        }
        
        .interaction-btn.liked {
            color: #e74c3c;
        }
        
        .interaction-btn.saved {
            color: #f39c12;
        }
        
        /* 加载更多 */
        .load-more {
            text-align: center;
            margin: 3rem 0;
        }
        
        .load-more-btn {
            padding: 0.75rem 2rem;
            border-radius: 30px;
            font-weight: 500;
            background-color: white;
            border: 1px solid #3498db;
            color: #3498db;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .load-more-btn:hover {
            background-color: #3498db;
            color: white;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .featured-wish {
                grid-column: span 1;
                flex-direction: column;
            }
            
            .featured-wish .wish-media,
            .featured-wish .wish-info {
                width: 100%;
            }
            
            .wide-wish {
                grid-column: span 1;
            }
        }
        
        @media (max-width: 768px) {
            .wish-list {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .media-featured {
                min-height: 220px;
            }
            
            .filter-toolbar {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .wish-list {
                grid-template-columns: 1fr;
            }
            
            .media-standard {
                height: 180px;
            }
            
            .media-wide {
                height: 220px;
            }
            
            .wish-actions {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
            
            .wish-interactions {
                margin-top: 0.5rem;
                width: 100%;
                justify-content: flex-end;
            }
            
            .page-title {
                font-size: 1.8rem;
            }
            
            .category-tabs {
                gap: 0.5rem;
            }
            
            .category-tab {
                padding: 0.4rem 0.9rem;
                font-size: 0.85rem;
            }
        }
        
        /* 动画效果 */
        .fade-in {
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
    </style>
</head>
<body>
    <div class="container py-5">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">礼物愿望清单</h1>
            <p class="page-subtitle">发现朋友们想要的礼物，给他们一个惊喜。这里有各种类型的礼物愿望，从电子产品到时尚单品，总有适合你的选择。</p>
        </div>
        
        <!-- 筛选工具栏 -->
        <div class="filter-toolbar d-flex justify-content-between align-items-center">
            <div class="sort-options">
                <span class="sort-label">排序方式:</span>
                <select class="sort-select">
                    <option value="popular">热门程度</option>
                    <option value="recent">最新发布</option>
                    <option value="price-low">价格从低到高</option>
                    <option value="price-high">价格从高到低</option>
                </select>
            </div>
            
            <div class="view-options">
                <button class="interaction-btn active" title="网格视图">
                    <i class="fas fa-th"></i>
                </button>
                <button class="interaction-btn" title="列表视图">
                    <i class="fas fa-list"></i>
                </button>
            </div>
        </div>
        
        <!-- 分类标签 -->
        <div class="category-tabs">
            <div class="category-tab active">全部礼物</div>
            <div class="category-tab">电子产品</div>
            <div class="category-tab">时尚服饰</div>
            <div class="category-tab">家居用品</div>
            <div class="category-tab">美妆个护</div>
            <div class="category-tab">运动户外</div>
            <div class="category-tab">创意礼品</div>
            <div class="category-tab">体验服务</div>
        </div>
        
        <!-- 精选愿望 -->
        <div class="wish-card featured-wish fade-in">
            <div class="wish-media media-featured">
                <div class="media-grid three-photos">
                    <img src="https://picsum.photos/800/800?random=1" alt="专业相机照片1">
                    <img src="https://picsum.photos/400/400?random=2" alt="专业相机照片2">
                    <img src="https://picsum.photos/400/400?random=3" alt="专业相机照片3">
                </div>
                <div class="image-count">
                    <i class="fas fa-images"></i> 3
                </div>
                <div class="price-tag">¥6,999</div>
            </div>
            
            <div class="wish-info">
                <span class="wish-category category-electronics">电子产品</span>
                <h3 class="wish-title">希望拥有一台专业微单相机，记录生活中的美好瞬间</h3>
                
                <p class="wish-description">
                    一直对摄影很感兴趣，希望能有一台专业的微单相机来提升我的摄影技能。理想型号是索尼A7M4或佳能R6，搭配一个标准变焦镜头。主要用于旅行摄影和日常记录，希望能拍出高质量的照片和视频。如果有人想转让或者知道优惠渠道，请告诉我，非常感谢！
                </p>
                
                <div class="author-info">
                    <img src="https://picsum.photos/200/200?random=101" alt="张明的头像" class="author-avatar">
                    <div class="author-details">
                        <p class="author-name">张明</p>
                        <div class="post-date">发布于 3天前 · 摄影爱好者</div>
                    </div>
                </div>
                
                <div class="wish-actions">
                    <div class="action-stats">
                        <div class="stat-item" title="浏览量">
                            <i class="far fa-eye"></i>
                            <span>3.2k</span>
                        </div>
                        <div class="stat-item" title="评论数">
                            <i class="far fa-comment"></i>
                            <span>86</span>
                        </div>
                        <div class="stat-item" title="点赞数">
                            <i class="far fa-heart"></i>
                            <span>542</span>
                        </div>
                    </div>
                    <div class="wish-interactions">
                        <button class="interaction-btn" title="点赞">
                            <i class="far fa-heart"></i>
                            <span>点赞</span>
                        </button>
                        <button class="interaction-btn" title="收藏">
                            <i class="far fa-bookmark"></i>
                            <span>收藏</span>
                        </button>
                        <button class="interaction-btn" title="评论">
                            <i class="far fa-comment"></i>
                            <span>评论</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 愿望列表 -->
        <div class="wish-list">
            <!-- 4张图片的愿望 -->
            <div class="wish-card wide-wish fade-in">
                <div class="wish-media media-wide">
                    <div class="media-grid four-photos">
                        <img src="https://picsum.photos/600/600?random=11" alt="户外露营装备照片1">
                        <img src="https://picsum.photos/600/600?random=12" alt="户外露营装备照片2">
                        <img src="https://picsum.photos/600/600?random=13" alt="户外露营装备照片3">
                        <img src="https://picsum.photos/600/600?random=14" alt="户外露营装备照片4">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 4
                    </div>
                    <div class="price-tag">¥1,299</div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-sports">运动户外</span>
                    <h3 class="wish-title">希望获得一套高品质的露营装备，计划和家人去野营</h3>
                    
                    <p class="wish-description">
                        想带家人体验露营的乐趣，但目前装备不全。希望能有一套防水性能好的双人帐篷、两个睡袋和一个便携折叠桌椅套装。最好是轻量化的，方便携带。品牌方面比较喜欢牧高笛或迪卡侬的产品，质量可靠且价格适中。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=102" alt="李强的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">李强</p>
                            <div class="post-date">发布于 1周前 · 户外爱好者</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>1.8k</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>42</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>235</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 1张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid one-photo">
                        <img src="https://picsum.photos/600/600?random=15" alt="复古机械键盘照片">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 1
                    </div>
                    <div class="price-tag">¥499</div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-electronics">电子产品</span>
                    <h3 class="wish-title">想要一个复古风格的机械键盘，提升工作效率</h3>
                    
                    <p class="wish-description">
                        每天需要大量打字，希望能有一个手感好的机械键盘。喜欢复古打字机风格的设计，青轴或茶轴都可以接受。最好是无线的，方便桌面整洁。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=103" alt="王丽的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">王丽</p>
                            <div class="post-date">发布于 2天前 · 文案编辑</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>967</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>23</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>156</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="no-media">
                        <i class="fas fa-utensils"></i>
                        <div>美食体验</div>
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-other">体验服务</span>
                    <h3 class="wish-title">希望收到一家高级西餐厅的双人晚餐券</h3>
                    
                    <p class="wish-description">
                        和女朋友交往一周年纪念日快到了，想带她去一家环境好的西餐厅庆祝。希望能有一张高端西餐厅的双人套餐券，位置最好在市中心或有景观的地方。预算在1000元左右。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=104" alt="赵伟的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">赵伟</p>
                            <div class="post-date">发布于 5天前 · 市场专员</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>1.2k</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>31</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>208</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 2张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid two-photos">
                        <img src="https://picsum.photos/600/600?random=16" alt="设计师椅子照片1">
                        <img src="https://picsum.photos/600/600?random=17" alt="设计师椅子照片2">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 2
                    </div>
                    <div class="price-tag">¥899</div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-home">家居用品</span>
                    <h3 class="wish-title">寻找一把舒适的设计师单人椅，用于书房阅读</h3>
                    
                    <p class="wish-description">
                        新家的书房还差一把舒适的阅读椅，希望是北欧风格或简约现代设计，颜色最好是灰色或蓝色系。要求坐感舒适，有良好的腰部支撑，适合长时间阅读。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=105" alt="陈静的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">陈静</p>
                            <div class="post-date">发布于 1周前 · 室内设计师</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>756</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>18</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>124</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 3张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid three-photos">
                        <img src="https://picsum.photos/600/600?random=18" alt="护肤品套装照片1">
                        <img src="https://picsum.photos/600/600?random=19" alt="护肤品套装照片2">
                        <img src="https://picsum.photos/600/600?random=20" alt="护肤品套装照片3">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 3
                    </div>
                    <div class="price-tag">¥599</div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-beauty">美妆个护</span>
                    <h3 class="wish-title">想要一套天然有机的护肤品套装，适合敏感肌肤</h3>
                    
                    <p class="wish-description">
                        我的皮肤比较敏感，容易过敏，希望能有一套天然有机成分的护肤品。最好包含洁面乳、爽肤水、保湿霜和精华液。喜欢无香料、无酒精的产品，品牌如娇韵诗或科颜氏都可以。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=106" alt="林小雨的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">林小雨</p>
                            <div class="post-date">发布于 4天前 · 护士</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>1.1k</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>27</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>189</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="no-media">
                        <i class="fas fa-book"></i>
                        <div>书籍套装</div>
                    </div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-other">创意礼品</span>
                    <h3 class="wish-title">希望获得《哈利波特》全套精装珍藏版书籍</h3>
                    
                    <p class="wish-description">
                        一直是哈利波特的忠实粉丝，希望能收集一套精装珍藏版的全套书籍。最好是中英双语版本，包含所有7部作品。如果有周边产品如魔杖或海报一起就更好了。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=107" alt="刘宇的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">刘宇</p>
                            <div class="post-date">发布于 6天前 · 学生</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>843</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>21</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>145</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 1张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid one-photo">
                        <img src="https://picsum.photos/600/600?random=21" alt="羊毛大衣照片">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 1
                    </div>
                    <div class="price-tag">¥1,599</div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-fashion">时尚服饰</span>
                    <h3 class="wish-title">想要一件驼色羊毛大衣，适合秋冬季节穿着</h3>
                    
                    <p class="wish-description">
                        秋冬季节快到了，需要一件保暖又时尚的羊毛大衣。喜欢驼色或深灰色，中长款，修身剪裁。材质希望是羊毛混纺，既保暖又容易打理。适合日常通勤和周末出行。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=108" alt="孙悦的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">孙悦</p>
                            <div class="post-date">发布于 2天前 ·  HR经理</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>1.3k</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>35</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>217</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 2张图片的愿望 -->
            <div class="wish-card fade-in">
                <div class="wish-media media-standard">
                    <div class="media-grid two-photos">
                        <img src="https://picsum.photos/600/600?random=22" alt="智能手表照片1">
                        <img src="https://picsum.photos/600/600?random=23" alt="智能手表照片2">
                    </div>
                    <div class="image-count">
                        <i class="fas fa-images"></i> 2
                    </div>
                    <div class="price-tag">¥1,899</div>
                </div>
                
                <div class="wish-info">
                    <span class="wish-category category-electronics">电子产品</span>
                    <h3 class="wish-title">希望拥有一款功能全面的智能手表，用于健康管理</h3>
                    
                    <p class="wish-description">
                        最近开始注重健康管理，希望能有一款功能全面的智能手表。主要需要心率监测、睡眠分析、运动记录等功能，最好支持独立通话和长续航。品牌倾向于Apple Watch或华为。
                    </p>
                    
                    <div class="author-info">
                        <img src="https://picsum.photos/200/200?random=109" alt="周健的头像" class="author-avatar">
                        <div class="author-details">
                            <p class="author-name">周健</p>
                            <div class="post-date">发布于 3天前 · 健身教练</div>
                        </div>
                    </div>
                    
                    <div class="wish-actions">
                        <div class="action-stats">
                            <div class="stat-item" title="浏览量">
                                <i class="far fa-eye"></i>
                                <span>1.5k</span>
                            </div>
                            <div class="stat-item" title="评论数">
                                <i class="far fa-comment"></i>
                                <span>47</span>
                            </div>
                            <div class="stat-item" title="点赞数">
                                <i class="far fa-heart"></i>
                                <span>289</span>
                            </div>
                        </div>
                        <div class="wish-interactions">
                            <button class="interaction-btn" title="点赞">
                                <i class="far fa-heart"></i>
                                <span>点赞</span>
                            </button>
                            <button class="interaction-btn" title="收藏">
                                <i class="far fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="interaction-btn" title="评论">
                                <i class="far fa-comment"></i>
                                <span>评论</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 加载更多按钮 -->
        <div class="load-more">
            <button class="load-more-btn">
                <i class="fas fa-sync-alt"></i> 加载更多礼物愿望
            </button>
        </div>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 分类标签切换
            const categoryTabs = document.querySelectorAll('.category-tab');
            categoryTabs.forEach(tab => {
                tab.addEventListener('click', function() {
                    categoryTabs.forEach(t => t.classList.remove('active'));
                    this.classList.add('active');
                    
                    // 这里可以添加实际的分类筛选逻辑
                    const category = this.textContent;
                    console.log(`切换到分类: ${category}`);
                });
            });
            
            // 视图切换
            const viewButtons = document.querySelectorAll('.view-options .interaction-btn');
            const wishList = document.querySelector('.wish-list');
            
            viewButtons.forEach(button => {
                button.addEventListener('click', function() {
                    viewButtons.forEach(btn => btn.classList.remove('active'));
                    this.classList.add('active');
                    
                    if (this.title === "列表视图") {
                        wishList.style.gridTemplateColumns = "1fr";
                    } else {
                        wishList.style.gridTemplateColumns = "repeat(auto-fill, minmax(300px, 1fr))";
                    }
                });
            });
            
            // 滚动显示动画
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const fadeInObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        // 为了让动画有层次感，添加延迟
                        const delay = Array.from(fadeElements).indexOf(entry.target) * 80;
                        setTimeout(() => {
                            entry.target.classList.add('visible');
                        }, delay);
                        fadeInObserver.unobserve(entry.target);
                    }
                });
            }, { threshold: 0.1 });
            
            fadeElements.forEach(element => {
                fadeInObserver.observe(element);
            });
            
            // 点赞功能
            const likeButtons = document.querySelectorAll('.interaction-btn[title="点赞"]');
            likeButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const icon = this.querySelector('i');
                    const statItem = this.closest('.wish-actions').querySelector('.stat-item:nth-child(3) span');
                    let count = parseInt(statItem.textContent.replace(/,/g, ''));
                    
                    if (icon.classList.contains('far')) {
                        // 点赞
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('liked');
                        statItem.textContent = (count + 1).toString();
                    } else {
                        // 取消点赞
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('liked');
                        statItem.textContent = (count - 1).toString();
                    }
                });
            });
            
            // 收藏功能
            const saveButtons = document.querySelectorAll('.interaction-btn[title="收藏"]');
            saveButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const icon = this.querySelector('i');
                    
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('saved');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('saved');
                    }
                });
            });
            
            // 评论按钮
            const commentButtons = document.querySelectorAll('.interaction-btn[title="评论"]');
            commentButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const wishTitle = this.closest('.wish-card').querySelector('.wish-title').textContent;
                    alert(`查看 "${wishTitle}" 的评论`);
                });
            });
            
            // 卡片点击事件
            const wishCards = document.querySelectorAll('.wish-card');
            wishCards.forEach(card => {
                card.addEventListener('click', function() {
                    const wishTitle = this.querySelector('.wish-title').textContent;
                    alert(`查看礼物愿望详情: ${wishTitle}`);
                });
            });
            
            // 加载更多按钮
            const loadMoreBtn = document.querySelector('.load-more-btn');
            loadMoreBtn.addEventListener('click', function() {
                const icon = this.querySelector('i');
                
                // 显示加载状态
                icon.classList.add('fa-spin');
                this.disabled = true;
                
                // 模拟加载延迟
                setTimeout(() => {
                    icon.classList.remove('fa-spin');
                    this.disabled = false;
                    
                    // 这里可以添加实际加载更多内容的逻辑
                    alert('已加载全部礼物愿望');
                }, 1500);
            });
            
            // 排序功能
            const sortSelect = document.querySelector('.sort-select');
            sortSelect.addEventListener('change', function() {
                console.log(`排序方式: ${this.value}`);
                // 这里可以添加实际的排序逻辑
            });
        });
    </script>
</body>
</html>
    
